 <?php                                                                                              
    $csspath = 'news/news.css';
    $jspath = 'email/email.js';
 ?>
<?php require_once VIEWPATH.'common/header.php'; ?>
<?php require_once VIEWPATH.'common/sidebar.php'; ?>
<!--main content start-->
<section id="main-content">
    <section class="wrapper site-min-height">
    <h3><i class="fa fa-angle-right"></i> 热点新闻</h3>
        <div class="row mt">
            <div class="col-md-12">
              <div class="content-panel">
                  <div class="main">
                      <div class="news_overfl" style="width: 960px;">
                         <div class="news_wh_con" style="width: 1300px;">
                           <div class=" news_mokuai"> 
                           <h2>内部新闻</h2>
                            <ul>
                              <?php if($newsList):?>
                                <?php foreach ($newsList as $key => $value):?>
                              <li><span class="fr"><?=date("Y-m-d",$value['addtime']);?></span><a href="/news/detail?id=<?=$value['newsID']?>"><?=$value['title']?></a></li>
                              <?php endforeach;?>
                              <?php else:?>
                                <li class="gray">暂时没有数据………</span>
                              <?php endif;?>
                             
                            </ul>
                            <a href="/news/more" class="more">更多>></a>
                            </div>
                          <div class=" news_mokuai" style="width: 465px;"> 
                           <h2>公共新闻</h2>
                            <ul>
                              <li class="gray">暂时没有数据………</li>
                            </ul>
                            <a class="more">更多>></a>
                          </div>
                          </div>
                     </div>
                  </div>
              </div>
            </div><!-- /content-panel -->
        </div><!-- /row -->
  </section>
</section>
<?php require_once VIEWPATH.'common/footer.php'; ?>
